import parser from "@babel/parser";

const sourceCode = `
export default class QAstNode {
    static hello() {
        console.log('hello')
    }
}
`;

const ast = parser.parse(sourceCode, {
  sourceType: 'unambiguous',
  plugins: ['typescript']
});

console.log(JSON.stringify(ast))

